package com.fqgj.xjd.user.dao;

import com.fqgj.common.api.Page;
import com.fqgj.common.base.BaseMapper;
import com.fqgj.xjd.user.entity.UserAuthHighmarkEntity;

import java.util.List;
import java.util.Map;

/**
 * User: Karl
 * Date: 2019-10-12
 * Time: 14:13:49.493
 */

public interface UserAuthHighmarkDao extends BaseMapper<UserAuthHighmarkEntity> {

    List<UserAuthHighmarkEntity> selectUserAuthHighmarkByParams(Map<String, Object> params);

    UserAuthHighmarkEntity selectLastUserAuthHighmark(String userCode);

    UserAuthHighmarkEntity selectLastUserAuthHighmarkByPanCardNo(String panCardNo, boolean isOriginal);

    UserAuthHighmarkEntity selectUserAuthHighmarkByOrderId(String userCode, String orderId);

    List<UserAuthHighmarkEntity> selectLast3Record(String userCode);

    List<UserAuthHighmarkEntity> selectUnAnalyseHighmarkList(Page page);
}
